package types;

import java.util.Vector;

public class Menu
{
	int level;
	String text;
	Vector<MenuItem> items;
	
	public Menu()
	{
		level = 1;
		text = "";
		items = new Vector<MenuItem>();
	}
	
	public Menu(int level, String text,Vector<MenuItem> items )
	{
		this.level = level;
		this.text = text;
		this.items = items;
	}

	public int getLevel()
	{
		return level;
	}

	public void setLevel(int level)
	{
		this.level = level;
	}

	public String getText()
	{
		return text;
	}

	public void setText(String text)
	{
		this.text = text;
	}

	public Vector<MenuItem> getItems()
	{
		return items;
	}

	public void setItems(Vector<MenuItem> items)
	{
		this.items = items;
	}
}
